package com.skywolf.chem.live.service;

import com.aliyun.oss.ServiceException;
import com.baomidou.mybatisplus.extension.service.IService;
import com.skywolf.chem.common.sysconfig.pojo.dto.PageDTO;
import com.skywolf.chem.common.sysconfig.pojo.vo.PageVO;
import com.skywolf.chem.customer.param.SignupDto;
import com.skywolf.chem.live.entity.Live;
import com.skywolf.chem.live.param.LiveDto;
import com.skywolf.chem.live.param.LiveParam;
import com.skywolf.chem.live.param.VideoDto;
import com.skywolf.chem.manager.param.LiveManagerDto;
import com.skywolf.chem.manager.param.LiveQueryDto;
import com.skywolf.chem.manager.param.LiveSignUpQueryDto;
import com.skywolf.chem.manager.param.VideoQueryDto;

import java.util.List;

/**
 * <p>
 * 直播信息表 服务类
 * </p>
 *
 * @author 
 * @since 2020-11-30
 */
public interface ILiveService extends IService<Live> {
    PageVO<VideoDto> pageLiveList(PageDTO queryParam);

    void enrollLive(LiveParam param,Long uid) throws ServiceException;

    PageVO<VideoDto> liveUser(PageDTO queryParam,Long uid);

    LiveDto getLiveInfo(Long liveId,Long uid);

    PageVO<VideoDto> pageLiveListManager(LiveQueryDto queryParam);

    PageVO<SignupDto> pageLiveSignUpListManager(LiveSignUpQueryDto queryParam);

    List<Live> getGroupInfo(List<String> groupIds);

}
